﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ExtjsDemo.Controllers
{
    public class ShipMgrController : Controller
    {

        public ActionResult Query()
        {
            var result = new {
                success = true,
                rowCount = 100,
                data = new[] {
            new {ShipId="989f1ace-5961-46d4-8f93-b56decb893af"
            ,ShipName="船舶1",StateName="离线",Tonnage=1.0
            ,LoadNumber=1}, new {ShipId="189f1ace-5961-46d4-8f93-b56decb893af"
            ,ShipName="船舶2",StateName="在线",Tonnage=2.0
            ,LoadNumber=2} }

            };
            return Json(result);
        }
    }
}